// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
require('es6-promise/auto')

import Vue from 'vue'
import App from './App'
import store from './store'
import router from './router'
import Env from './env'
import Vue2Filters from 'vue2-filters'

/* eslint-disable */
import _extends from './utils/extends'             // 全局函数扩展增强

import ElementUI from 'element-ui'
import '../static/element-theme-material/index.css'    // 默认主题
import "../static/css/liberty-theme.scss"
import "../static/css/normalize.css"
import "../static/css/semantic/components/table.css"
import "../static/css/semantic/components/card.css"
import "../static/css/layout.scss"
import "../static/css/main.css"

Vue.config.productionTip = !Env.isProd
Vue.use(ElementUI)
Vue.use(Vue2Filters)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: { App }
})
